function faceAge() {
	modal("请稍等");
	$('#formup').ajaxSubmit({
		type : 'POST',
		url : '/dancoder/aliyun/faceAge',
		success : function(data, status) {
			var status = status;
			if (status.toString() == "success") {
				alert("成功");
				$("#age").text(data);
			} else {
				alert("no success");
			}
		},
		error : function() {
			alert("失败")
		}
	})
};

function modal(content){
	/*layer.msg(content, {
	    time: 20000, //20s后自动关闭
	  });
	*/
	
	
	$(".modal fade").load("../common/modal.html",function(){
		$('#dialog-text').html(content);
		document.getElementById("modal").style.display="block";
	});
	
}